/*
 * @Description:
 * @Author: mxy
 * @Date: 2022-12-08 11:09:32
 * @LastEditors: mxy
 * @LastEditTime: 2022-12-09 21:50:17
 */
import request from '@/utils/request'
export function loginAPI (data) {
  return request.post('/h5/user/login', data)
}
export function registerAPI (data) {
  return request.post('/h5/user/register', data)
}

export function userAPI () {
  return request.get('/h5/user/currentUser')
}
